<?php

use plugin\kb_blog\app\admin\controller\InfoController; //博客资料
use plugin\kb_blog\app\admin\controller\BlogrollController; //博客友情链接
use plugin\kb_blog\app\admin\controller\NoteController; //博客笔记
use plugin\kb_blog\app\admin\controller\ProjectController; //博客项目

return [
    [
        "title" => "KB博客",
        "key" => "kb_blog",
        "icon" => "layui-icon-note",
        "weight" => 0,
        "type" => 0,
        "children" => [
            [
                "title" => "博客资料",
                "key" => InfoController::class,
                "href" => "/app/kb_blog/admin/info",
                "type" => 1,
                "weight" => 0
            ],
            [
                "title" => "友情链接",
                "key" => BlogrollController::class,
                "href" => "/app/kb_blog/admin/blogroll",
                "type" => 1,
                "weight" => 0
            ],
            [
                "title" => "博客笔记",
                "key" => NoteController::class,
                "href" => "/app/kb_blog/admin/note",
                "type" => 1,
                "weight" => 0
            ],
            [
                "title" => "博客项目",
                "key" => ProjectController::class,
                "href" => "/app/kb_blog/admin/project",
                "type" => 1,
                "weight" => 0
            ]
        ]
    ]
];
